package cn.com.vrv.controller;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import net.minidev.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONArray;

import cn.com.vrv.common.AbstractController;
import cn.com.vrv.entity.RecognitionTask;
import cn.com.vrv.service.RecognitionTaskService;

/**
 * <一句话功能简述>
 * 
 * @author 赵炎
 * @version [V1.00, 2017年11月21日]
 * @see [相关类/方法]
 * @since V1.00
 */
public class MainController extends AbstractController
{
    
    @Autowired
    private RecognitionTaskService recognitionTaskService;
    
    /**
     * main主页面
     * 
     * @param model
     * @return
     * @see [类、类#方法、类#成员]
     */
    @RequestMapping("main")
    public String main(Model model)
    {
        //List<RecognitionTask> tasks = this.recognitionTaskService.findAll();
        // modelAndView.addObject("tasks", tasks);
        // modelAndView.setViewName("main");
       // model.addAttribute("tasks", tasks);
        return "main";
    }
    
}
